package com.anjbo.service.house.impl;

import com.anjbo.dao.app.house.HousePriceDayMapper;
import com.anjbo.dao.app.house.HousePriceMouthMapper;

import com.anjbo.service.house.HousePriceMouthService;


import org.apache.commons.collections.MapUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import java.text.ParseException;
import java.text.SimpleDateFormat;


import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * Created by zsy on 2017/3/3.
 */
@Service("housePriceMouthService")
public class HousePriceMouthServiceImpl implements HousePriceMouthService {

    @Autowired
    private HousePriceMouthMapper housePriceMouthMapper;

    @Autowired
    private HousePriceDayMapper housePriceDayMapper;

    @Override
    public int insertHousePriceMouth(Map<String, Object> params) {


        return housePriceMouthMapper.insertHousePriceMouth(params);
    }

    @Override
    public int updateHousePriceMouth(Map<String, Object> params) {
        return housePriceMouthMapper.updateHousePriceMouth(params);
    }

    @Override
    public List<Map<String, Object>> selectHousePriceMouth(Map<String, Object> params) {
        return housePriceMouthMapper.selectHousePriceMouth(params);
    }

    @Override
    public int deleteHousePriceMouth(Map<String, Object> params) {
        return housePriceMouthMapper.deleteHousePriceMouth(params);
    }

}
